package com.example.sfm.service;

import com.example.sfm.pojo.dto.AnnouncementDto;
import com.example.sfm.pojo.dto.AnnouncementQueryDto;
import com.example.sfm.pojo.entity.Announcements;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.sfm.pojo.vo.AnnouncementVo;
import com.example.sfm.result.PageResult;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sfm
 * @since 2025-03-07
 */
public interface IAnnouncementsService extends IService<Announcements> {

    void createAnnouncement(AnnouncementDto announcementDto);
    PageResult<?> listAnnouncements(AnnouncementQueryDto queryDto);
    void updateAnnouncement(Long id, AnnouncementDto announcementDto);
    void deleteAnnouncements(List<Long> ids);
}
